package com.apartment.sevice.impl;

import com.apartment.dao.IndentviewDao;
import com.apartment.data.view.Indentview;
import com.apartment.sevice.IndentviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Author : xuzhiyong
 * Date : 2022/6/3 22:59
 */
@Service
public class IndentviewServiceImpl implements IndentviewService {
    @Autowired
    private IndentviewDao indentviewDao;

    @Override
    public List<Indentview> findIndentviewByUserId(Integer id) {
        return indentviewDao.findIndentviewByUserId(id);
    }

    @Override
    public Indentview findIndentviewById(Integer id) {
        return indentviewDao.findIndentviewById(id);
    }
}
